package com.hp.gxw.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.gxw.constant.LayTableR;
import com.hp.gxw.entity.SaleOrderDetails;
import com.hp.gxw.entity.SaleOrderProcess;
import com.hp.gxw.entity.SettleOrderMasterNew;
import com.hp.gxw.entity.SettlementOrderProcess;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangping
 * @since 2023-10-17
 */
public interface ISaleOrderProcessService extends IService<SaleOrderProcess> {

    void priceSet(SaleOrderDetails orderDetails,List<SaleOrderProcess> processList);

    void settlementPriceSet(String settleDetailId, List<SaleOrderProcess> processList) throws InvocationTargetException, IllegalAccessException;

    void settlementPriceSetNew(String settleDetailId, List<SettlementOrderProcess> processList, String type);

    LayTableR processInfo(Integer page, Integer limit, String detailsId);

    void orderSettle(String masterId, String detailsId, SettleOrderMasterNew settleOrderMasterNew);
}
